package tfd.scala.squib.event;

import java.util.EventObject

class baseEventHelper[E <: EventObject](evtSymbol:Symbol) {
    
    def apply(delegate:E => Unit) = (evtSymbol -> delegate)
    
    def apply(delegate: =>Unit) = {
        def helper(evt:E) = {
        	delegate
        }
        (evtSymbol -> helper _)
    }
}
